#ifndef SLEEQAXPTR_H
#define SLEEQAXPTR_H
#include <ActiveQt/QAxBase>
#include <ActiveQt/QAxObject>

class SleeQAxPtr
{
    inline void release_ptr() {if(mp != NULL) delete mp; mp = NULL;}
public:
    QAxObject *mp;
    SleeQAxPtr();
    inline void free_ptr(){ release_ptr(); }
    bool is_ok();
};

#endif // SLEEQAXPTR_H
